package cn.admin.dao;

import org.apache.ibatis.annotations.Param;

/**
 * @Author: 毛苏宇
 * @Description: You can do it!
 * @Date: Create in 20:30 2019/3/23
 */
public interface QuotaMapper {


    /**
     * 已放款
     * @return
     */
    double findLoanAmount();


    /**
     * 借款总额
     * @return
     */
    double findTotalLoanAmount();


    int updateQuotaMoney(@Param("loan") double loan,@Param("userId") int userId);

}
